package com.iplay.thezen.visitor;

/**
 * @author dangwu
 * @since 2021/9/24 3:02 下午
 */
public class Visitor implements IVisitor {
    @Override
    public void visit(ConcreteElement1 el1) {
        el1.doSomething();
    }

    @Override
    public void visit(ConcreteElement2 el2) {
        el2.doSomething();
    }
}
